package com.carl.lambda.simpleLambda.lambda1;


/**
 * 工资过滤
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee>{
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() >= 5000;
    }
}
